package com.car.dao.repair;

import com.car.entity.Repair;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface RepairDao {
    public abstract Repair getRepairByIdQuery(int repairId);
    public abstract List<Repair> getAllRepairQuery(Map<String, Object> paramsMap);
    public abstract int addRepairInsert(Repair repair);
    public abstract int editRepairUpdate(Repair repair);
    public abstract int delRepairByIdDelete(Repair repair);
    public abstract int getRepairCountQuery(Map<String, Object> paramsMap);

}
